package com.dd.cloud.user.mapper.pres;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dd.cloud.user.entity.pres.PresHistory;
import com.dd.cloud.user.req.pres.PresHistoryPageReq;
import com.dd.cloud.user.res.pres.PresHistoryPageRes;
import org.apache.ibatis.annotations.Param;

/**
 * @author Lx
 * @version 1.0
 */
public interface PresHistoryMapper extends BaseMapper<PresHistory> {
    /**
     * 查询处方历史草稿列表 分页
     *
     * @param iPage
     * @param req
     * @return
     */
    IPage<PresHistoryPageRes> queryPresHistoryPage(IPage<?> iPage, @Param("req") PresHistoryPageReq req);
}
